Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

156
Views
¿Puede haber un "span wicket:id" entre la etiqueta wicket:child en la página html principal?

El ejemplo de lo que quiero hacer:

HTML principal:

 <wicket:child> ..... <span wicket:id="xxx"></span> </wicket:child>` ...

Niño HTML:

 <wicket:extend> ... child content ... </wicket:extend>

Supuestamente, cuando se abre la página secundaria, la etiqueta extendida reemplazará todo el contenido entre la etiqueta secundaria en el html principal, incluido el <span wicket:id> .

Aparentemente, esto no funcionará, cuando la página secundaria esté abierta, se producirá un error:
Las etiquetas de wicket identificadas por wicket:id no están permitidas entre wicket:child> y </wicket:child>

Supongo que esto se debe a que la etiqueta wicket:span pasó a la página de extensión secundaria y causó este problema. Si se elimina el tramo, el problema se resuelve.

¿Hay alguna forma en que pueda mantener la etiqueta span en HTML de paranet y aún así hacer que esto funcione?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Esto no esta permitido. Los componentes de wicket no están permitidos dentro de <wicket:child>...</wicket:child> . Consulte https://github.com/apache/wicket/blob/9e42a9548adb0da540e4e87d491f5824e778537e/wicket-core/src/main/java/org/apache/wicket/markup/MergedMarkup.java#L295

¿Por qué quieres tenerlo ahí? Qué quieres lograr ?

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!